Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: allow some intrinsics in static eval context #54

Closed
wants to merge 2 commits into from

Conversation

farcaller
Copy link

No description provided.

@bstrie
Copy link
Contributor

bstrie commented May 6, 2014

We're already reserving the sizeof keyword for just such a purpose (along with typeof), so clearly someone else out there cares about this issue.

@alexcrichton
Copy link
Member

Thanks for writing this up! In general this feature interacts with compile-time-function-evaluation quite closely. At this time we do not see the need as sufficient for changing the language for specifically the use cases mentioned.

We would like to add a feature such as this to the language, but this could be done after 1.0 in a backwards compatible way. I'm tagging this as postponed and closing this for now.

pcwalton added a commit that referenced this pull request Sep 11, 2014
withoutboats pushed a commit to withoutboats/rfcs that referenced this pull request Jan 15, 2017
Same effect as not doing anything anyway.

Closes rust-lang#54
@petrochenkov petrochenkov removed the postponed RFCs that have been postponed and may be revisited at a later time. label Feb 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants